package com.cloudbroker.bcs.platform.ltb.bizapi.constants.type;

/**
 * Created by daibd19671 on 2016/9/18.
 */
public enum  LeaderJobStateType {
    ON(0, "在职"),
    OFF(1, "离职"),
    NO(2, "非国联员工")
    ;

    private final int val;

    private final String description;

    private String toString;

    LeaderJobStateType(int val, String description) {
        this.val = val;
        this.description = description;
    }

    public int getVal() {
        return val;
    }

    public String getDescription() {
        return description;
    }

    @Override
    public String toString() {
        if (null == toString) {
            toString = new StringBuilder().append("LeaderJobStateType[").append(val).append(':').append(description)
                    .append(']').toString();
        }
        return toString;
    }

}
